/****************************************************************************

	COPYRIGHT(C) MAXSI SOFTWARE, JONAS 'SORTIE' TERMANSEN 2008, 2009, 2010

    This file is part of Maxsi Distribution.

    Maxsi Distribution is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Maxsi Distribution is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with Maxsi Distribution. If not, see <http://www.gnu.org/licenses/>.

	*/ #include "MaxsiDistributionContributors.h" /*

	If you modify this file, please enter your name below and provide contact
	information in MaxsiDistributionContributors.h. For more information please see
	MaxsiDistributionContributors.h.
	
	Contributors to this file:

	- Jonas 'Sortie' Termansen
	- [your name here]

	MaxsiDistribution.dll
	Distributing since 2008

	MaxsiDistributionLink.h
	An interface for Dynamic Linking

****************************************************************************/

#ifndef MaxsiDistributionLink_H
#define MaxsiDistributionLink_H

#include <Windows.h>

//#define DllImport extern "C"  __declspec( dllimport )
//#define DllExport extern "C"  __declspec( dllexport )
//#define DllImportCPP __declspec( dllimport )
//#define DllExportCPP __declspec( dllexport )

	#ifdef MAXSIDISTRIBUTION_DLL
		#define MDLINK DllExportCPP
		#define MDLINKCPP DllExportCPP
		#define MDCLASSLINK extern "C" class __declspec( dllexport )
		#define MDCLASSLINKCPP extern "C++" class __declspec( dllexport )
		#define MDSTRUCTLINK extern "C" struct __declspec( dllexport )
		#define MDSTRUCTLINKCPP extern "C++" struct __declspec( dllexport )
		#define MD_DLL_INTERFACE
		#define MDSDKEE_INTERFACE = 0
	#else
		#define MDLINK DllImportCPP
		#define MDLINKCPP DllImportCPP
		#define MDCLASSLINK extern "C" class __declspec( dllimport )
		#define MDCLASSLINKCPP extern "C++" class __declspec( dllimport )
		#define MDSTRUCTLINK extern "C" struct __declspec( dllimport )
		#define MDSTRUCTLINKCPP extern "C++" struct __declspec( dllimport )
		#define MD_DLL_INTERFACE = 0
		#define MDSDKEE_INTERFACE
	#endif

#endif